package com.paic.mhis.hcpms.quota.exportword.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.paic.mhis.hcpms.quota.exportword.dao.QueryWordWebPageDao;
import com.paic.mhis.hcpms.quota.settlement.dto.MedOrgLevelDTO;
import com.paic.mhis.hcpms.quota.settlement.dto.WordInfoDTO;
import com.paic.pafa.biz.dao.BaseDAO;

@Component("queryWordWebPageDao")
public class QueryWordWebPageDaoImpl extends BaseDAO implements QueryWordWebPageDao{
	@Override
	public List<MedOrgLevelDTO> queryOrgLevel(Map<String, String> map){
		// TODO Auto-generated method stub
		return (List<MedOrgLevelDTO>)this._list("report.queryMedicalOrgInfoList", map);
	}

	@Override
	public List<WordInfoDTO> queryWordInfoByPage(Map<String, String> map) {
		// TODO Auto-generated method stub
		return (List<WordInfoDTO>)this._list("report.queryWordInfoList", map);
	}
	
	@Override
	public WordInfoDTO getWordInfoCount(Map<String, String> map) {
		// TODO Auto-generated method stub
		return (WordInfoDTO)this._queryForObject("report.getWordInfoCount", map);
	}
	
	@Override
	public WordInfoDTO getWordInfoById(String param) {
		// TODO Auto-generated method stub
		return (WordInfoDTO)this._queryForObject("report.getWordInfoById", param);
	}
}
